/**
 * 采购订单 api 封装
 *
 * @Author:    AKITA
 * @Date:      2025-08-18 09:11:41
 * @Copyright  AKITA
 */
import { postRequest, getRequest } from '/@/lib/axios';

export const poordApi = {

    queryPage : (param) => {
        return postRequest('/poord/queryPage', param);
    },

    add: (param) => {
        return postRequest('/poord/add', param);
    },

    update: (param) => {
        return postRequest('/poord/update', param);
    },

    delete: (id) => {
        return getRequest(`/poord/delete/${id}`);
    },

    batchDelete: (idList) => {
        return postRequest('/poord/batchDelete', idList);
    },
    info: (id) => {
        return getRequest(`/poord/info/${id}`);
    },

    infoUnexecute: (id) => {
        return getRequest(`/poord/infoUnexecute/${id}`);
    },
};
